
#ifndef ADMINADMIN_H
#define ADMINADMIN_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CAdminAdmin dialog
#include "..\UI\DialogST.h"
class CAdminAdmin : public CDialogST
{
// Construction
public:
	CAdminAdmin(CWnd* pParent = NULL);   // standard constructor
	void AddToGrid();
    void OnRelease();
protected:
	//{{AFX_DATA(CAdminAdmin)
	enum { IDD = IDD_ADMIN_ADMIN };
	CComboBox	m_Class;
	CComboBox	m_Admin;
	CListCtrl	m_List;
	CButton	m_ButMod;
	CButton	m_ButDel;
	CButton	m_ButAdd;
	int		m_Id;
	UINT	m_UserId;
	CString	m_RealName;
	CString	m_Name;
	CString	m_Pwd;
	CString	m_strAdmin;
	CString	m_strClass;
	//}}AFX_DATA
/*    ADMIN_LIST *AdminList;
	BOOL	m_check[24];
    int m_Level,m_Type;
    int m_SelID;
	int userCount;
    void SetCheck( int checktype ); 
    int GetCheck( );
    void OnReadData();
    void OnPost( int nMode );
    void GetRemoteAdmin();*/
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAdminAdmin)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAdminAdmin)
	virtual BOOL OnInitDialog();
	afx_msg void OnButadd();
	afx_msg void OnButdel();
	afx_msg void OnButmod();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // ADMINADMIN_H
